<!DOCTYPE html>       
<!--
==========================================================================
LV自动生成修改页面代码,只生成一次,按需修改.
生成日期：2023-12-24 16:29:05 +0800 CST
生成路径: template/mywork/item/edit.html
生成人：lv
==========================================================================
-->
<html lang="zh">
<head>
    {{template "header" (OssUrl)}}
    <link href="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content   ibox-content">
    <form class="form-horizontal m" id="form-item-edit">
        <input name="id" value="{{.item.Id}}" type="hidden">
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">任务ID：</label>
                <div class="col-sm-8">
                    <input name="taskId" value="{{.item.TaskId}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">click dbclick write write_enter：</label>
                <div class="col-sm-8">
                    <input name="action" value="{{.item.Action}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">内容：</label>
                <div class="col-sm-8">
                    <input name="content" value="{{.item.Content}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">html xpath：</label>
                <div class="col-sm-8">
                    <input name="idxXpath" value="{{.item.IdxXpath}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">图片1：</label>
                <div class="col-sm-8">
                    <input name="idxImg1" value="{{.item.IdxImg1}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">图片2：</label>
                <div class="col-sm-8">
                    <input name="idxImg2" value="{{.item.IdxImg2}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">图片3：</label>
                <div class="col-sm-8">
                    <input name="idxImg3" value="{{.item.IdxImg3}}" class="form-control"  type="text" >
                </div>
            </div>
              
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">操作状态，ready running end：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="status" value="" required>
                        <label for="status" text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>  
            
            <div class="form-group">
                <label class="col-sm-4 col-md-4 col-lg-4 col-xl-4 control-label control-label">排序，大的优先：</label>
                <div class="col-sm-8">
                    <input name="sort" value="{{.item.Sort}}" class="form-control"  type="text" >
                </div>
            </div>
                    
    </form>
</div>
{{template "footer" (OssUrl)}}
<script src="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript">
    var prefix = ctx + "/mywork/item";
    $("#form-item-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-item-edit').serialize());
        }
    }
                                                      
    $("input[name='createTime']").datetimepicker({
        format: "yyyy-mm-dd",
        minView: "month",
        autoclose: true
    });
            
    $("input[name='updateTime']").datetimepicker({
        format: "yyyy-mm-dd",
        minView: "month",
        autoclose: true
    });
      
    
</script>
</body>
</html>